package com.example.sale.True;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
@ExcelTarget("userDetail")
@TableName("userdetail")
public class UserDetail {
    @Excel(name = "编号",width = 5.0)
    private Integer id;
    @Excel(name = "姓名",width = 5.0)
    private String name;
    @Excel(name = "性别",width = 5.0)
    private Gender gender;
    @Excel(name = "qq",width = 15.0)
    private String qq;
    @Excel(name = "地址",width = 15.0)
    private String address;
    @Excel(name = "年龄")
    private Integer age;
    @Excel(name = "生日",width = 15.0)
    private String birthday;
    @Excel(name = "图像")
    private String img;
    @Excel(name = "外键号",width =8.0)
    private Integer userid;
    public enum Gender{
        男,
        女
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Gender getGender() {
        return gender;
    }

    public void setGender(Gender gender) {
        this.gender = gender;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getUserid() {
        return userid;
    }

    public  void setUserid(Integer userid) {
        this.userid = userid;
    }

    @Override
    public String toString() {
        return "UserDetail{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", qq='" + qq + '\'' +
                ", address='" + address + '\'' +
                ", age=" + age +
                ", birthday=" + birthday +
                ", img='" + img + '\'' +
                ", userid=" + userid +
                '}';
    }
}
